<nav style="cursor:pointer;text-align: center;">
    <ul class="pagination">
        <li>
            <a ng-click="selectPage(1)">
                <span>首页</span>
            </a>
        </li>
        <li>
            <a ng-click="Previous()">
                <span>上一页</span>
            </a>
        </li>
        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}">
            <a ng-click="selectPage(page)">{{ page }}</a>
        </li>
        <li>
            <a ng-click="Next()">
                <span>下一页</span>
            </a>
        </li>
        <li>
            <a ng-click="selectPage(pages)">
                <span>尾页</span>
            </a>
        </li>
    </ul>
</nav>
